package com.chen.base.module.base.dto;

/**
 * @Title: manager-spring-mvc-hb
 * @Description: to do
 * @Author: chenjiwei
 * @Date: 2020-11-15 15:39
 * @Version: 1.0.0
 */
public enum ResponseStatus {
    SUCCESS("10000", "成功"), FAIL("19999", "失败")
    ;

    private String code;

    private String message;

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    ResponseStatus(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
